package com.team233.zuccecho.service.inter;

import com.team233.zuccecho.Bean.Clazz;
import com.team233.zuccecho.Bean.Feedback;
import com.team233.zuccecho.Bean.Questionnaire;
import com.team233.zuccecho.Bean.Teacher;
import com.team233.zuccecho.dto.QuestionnaireDto;
import com.team233.zuccecho.dto.TeacherDto;
import com.team233.zuccecho.exception.EchoServiceException;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

@Service
public interface TeacherInterface {
    String login(String tea_id,String tea_pwd) throws EchoServiceException;

    Integer modifyPwd(String tea_id,String oldpwd,String newpwd) throws EchoServiceException;

    List<Teacher> addTea(List<TeacherDto> teaList) throws EchoServiceException;

    Long releaseQn(QuestionnaireDto questionnaireDto)throws EchoServiceException, IOException;

    List<Questionnaire> QueryTeaQuestionnaire(String tea_id) throws EchoServiceException;

    List<Feedback> QueryFeedback(Long qn_id) throws EchoServiceException;

    List<Clazz> QueryTeaClazz(String tea_id) throws EchoServiceException;
}
